-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[dotnet] [bidi] Support WebExtension module #15850
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
Test fails on CI, because I don't know how to prepare test data in |
They should work for Chrome/Edge if you start the browser using the flags:
The Python bindings added a property on Chromium's Options class named see #15794 |
I managed it and now we are able to execute tests in different environments ( |
|
Parking it until better weather. |
Here we should refactor tests projects. Any test |
Hi Team, Will this option be available in the upcoming Selenium version 4.35? Thanks. |
@SKumar-777 no, sorry... 4.35 was released yesterday and this hasn't been merged yet. |
Sorry, I am stuck here. Options to move further:
|
Python tests and fixtures were updated to handle this. |
The extension related files/dirs had to be copied via bazel, which this PR is already doing. |
Ideally to move further we should be able to add arguments for specific fixture/suite/test.
The issue is that in internal implemented testing infrastructure we cannot do it, only globally, but it breaks DevTools/CDP. Looked at the code, and I don't even see "quick dirty hack" to improve the situation. Seems our option is to merge without tests, and then add them later when weather becomes good: #15536 |
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
Let's merge it with the proved assumptions:
Some tests are written, but just ignore for now. Show must go on. |
CI failure is not related to these changes. I am merging it because users wait this functionality, even untested. |
User description
https://w3c.github.io/webdriver-bidi/#module-webExtension
🔗 Related Issues
💥 What does this PR do?
🔧 Implementation Notes
💡 Additional Considerations
🔄 Types of changes
PR Type
Enhancement
Description
Add WebExtension BiDi module support for .NET
Implement install/uninstall extension commands with multiple data formats
Add JSON serialization and converter infrastructure
Include comprehensive test suite with Bazel integration
Diagram Walkthrough
File Walkthrough
6 files
Add WebExtension module property
Create Extension JSON converter
Define Extension entity class
Implement install command with data types
Implement uninstall command
Create WebExtension module class
5 files
Register WebExtension JSON converter
Add WebExtension command serialization support
Add dotnet test visibility
Include extensions test data
Copy extension files to output
1 files
Add comprehensive WebExtension tests